package com.education.mymediaplayer.ui;

import android.view.View;

import com.education.mymediaplayer.IBasePresenter;
import com.education.mymediaplayer.IBaseView;
import com.education.mymediaplayer.dao.NewsMediaInfo;

import java.util.List;

/**
 * Created by zhonghang on 16/6/22.
 */

public class MainContract {
    public interface Presenter extends IBasePresenter {
        void init();

        void getData(String url);
    }

    public interface View extends IBaseView<Presenter> {
        void onInit();

        void onLoadData(List<NewsMediaInfo.T1457069041911Bean> list);

        void onLoadDataErro();
    }
}
